jfs: Fix inconsistency between memory allocation and ea_buf->max_size
authorShankara Pailoor <shankarapailoor@gmail.com>
Tue, 5 Jun 2018 13:33:27 +0000 (08:33 -0500)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 20 Jul 2018 21:08:27 +0000 (22:08 +0100)
commit26acee067613431f6dfb7a67efe856f134a0dfc4
tree8e91c0753ed38c4d01649c58da001dec478bbb14
parent8839d54a348b481c592fae5710161ee35f966037
jfs: Fix inconsistency between memory allocation and ea_buf->max_size

The code is assuming the buffer is max_size length, but we weren't
allocating enough space for it.

Signed-off-by: Shankara Pailoor <shankarapailoor@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name jfs-fix-inconsistency-between-memory-allocation-and-.patch
fs/jfs/xattr.c